<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" http://www.w3.org/TR/html4/loose.dtd>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>jquery test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="js/jquery-1.6.js" type="text/javascript"></script>
</head>
<body>

<h2>Hello World!</h2>
<input type="text" class="test1" value="123">
<script type="text/javascript">
$.fn.validation = function(){
	alert(this.val());
}
$.extend({net:{}});  
$.extend($.net,{
	   hello:function(){alert('hello');}
	  })
$(".test1").validation();
$.net.hello();
</script>
</body>
</html>
